export default {
  pages: [
    'pages/home/index',
    'pages/meal/index',
    'pages/activity/index',
    'pages/content-detail/index',
    'pages/mine/index'
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: '我的小程序',
    navigationBarTextStyle: 'black'
  },
  tabBar: {
    custom: false,
    color: '#858282',
    selectedColor: '#2f2c2c',
    borderStyle: 'white',
    list: [
      { pagePath: 'pages/home/index', text: '首页', iconPath: 'assets/home.png', selectedIconPath: 'assets/home-selected.png' },
      { pagePath: 'pages/meal/index', text: '点单', iconPath: 'assets/drink.png', selectedIconPath: 'assets/drink-selected.png' },
      { pagePath: 'pages/activity/index', text: '活动', iconPath: 'assets/gift.png', selectedIconPath: 'assets/gift-selected.png' },
      { pagePath: 'pages/mine/index', text: '我的', iconPath: 'assets/mine.png', selectedIconPath: 'assets/mine-selected.png' }
    ]
  },
  requiredBackgroundModes: ['location'],
  requiredPrivateInfos: ['getLocation'],
  permission: {
    "scope.userLocation": {
      desc: "您的位置信息将被小程序使用"
    }
  }
}
